﻿using System.Windows.Controls;

namespace SpinDotters.Widgets.Samples
{
    public partial class CounterDemoControl : UserControl
    {
        public CounterDemoControl()
        {
            InitializeComponent();
        }

        private void UpButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            this.myCounter.Value++;
        }

        private void DownButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            this.myCounter.Value--;
        }
    }
}
